package com.lanbu.system.service.impl;

import java.util.List;
import com.lanbu.system.domain.SysDeptOpenapi;
import com.lanbu.system.mapper.SysDeptOpenapiMapper;
import com.lanbu.system.service.ISysDeptOpenapiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 部门知识库应用秘钥关联Service业务层处理
 *
 * @author lanbu
 * @date 2024-09-16
 */
@Service
public class SysDeptOpenapiServiceImpl implements ISysDeptOpenapiService
{
    @Autowired
    private SysDeptOpenapiMapper sysDeptOpenapiMapper;

    @Override
    public SysDeptOpenapi selectSysDeptOpenapiByDeptId(Long deptId)
    {
        return sysDeptOpenapiMapper.selectSysDeptOpenapiByDeptId(deptId);
    }

    @Override
    public List<SysDeptOpenapi> selectSysDeptOpenapiList(SysDeptOpenapi sysDeptOpenapi)
    {
        return sysDeptOpenapiMapper.selectSysDeptOpenapiList(sysDeptOpenapi);
    }

    @Override
    public int insertSysDeptOpenapi(SysDeptOpenapi sysDeptOpenapi)
    {
        return sysDeptOpenapiMapper.insertSysDeptOpenapi(sysDeptOpenapi);
    }

    @Override
    public int updateSysDeptOpenapi(SysDeptOpenapi sysDeptOpenapi)
    {
        return sysDeptOpenapiMapper.updateSysDeptOpenapi(sysDeptOpenapi);
    }

    @Override
    public int deleteSysDeptOpenapiByDeptIds(Long[] deptIds)
    {
        return sysDeptOpenapiMapper.deleteSysDeptOpenapiByDeptIds(deptIds);
    }

    @Override
    public int deleteSysDeptOpenapiByDeptId(Long deptId)
    {
        return sysDeptOpenapiMapper.deleteSysDeptOpenapiByDeptId(deptId);
    }
}
